package ver04;

public class lanzarBombas implements shootingStrategy {

	public void fire( int x, int y) {
			Invaders inv = Invaders.getInstance();
		  	inv.addArmamento( new Bomb(Bomb.UP_LEFT, x,y));
		  	inv.addArmamento( new Bomb(Bomb.UP,x,y));
		  	inv.addArmamento( new Bomb(Bomb.UP_RIGHT,x,y));
		  	inv.addArmamento( new Bomb(Bomb.LEFT,x,y));
		  	inv.addArmamento( new Bomb(Bomb.RIGHT,x,y));
		  	inv.addArmamento( new Bomb(Bomb.DOWN_LEFT,x,y));
		  	inv.addArmamento( new Bomb(Bomb.DOWN,x,y));
		  	inv.addArmamento( new Bomb(Bomb.DOWN_RIGHT,x,y));
		
	}

}
